from fdfs_client.client import Fdfs_client


# 跟docker里面的fast DFS 简单交互，上传图片
fdfs_obj = Fdfs_client('client.conf')
ret = fdfs_obj.upload_appender_by_filename(r'/home/python/Desktop/meiduo/meiduo/meiduo/meiduo/utils/fastDFS/Snipaste_2019-08-16_19-34-16.png')
print(ret)